//生命周期类
function lifeCycleOwnIs(name) {
    return this[name];
}


var LifeCrycle = {
    start: {},
    compiled: {
        is: lifeCycleOwnIs,
        compiled: true,
    },
    inited: {
        is: lifeCycleOwnIs,
        compiled: true,
        inited: true
    },
    created: {
        is: lifeCycleOwnIs,
        compiled: true,
        inited: true,
        created: true,
    },
    attached: {
        is: lifeCycleOwnIs,
        compiled: true,
        inited: true,
        created: true,
        attached: true,
    },
    leaving: {
        is: lifeCycleOwnIs,
        compiled: true,
        inited: true,
        created: true,
        attached: true,
        leaving: true,
    },
    detached: {
        is: lifeCycleOwnIs,
        compiled: true,
        inited: true,
        created: true,
        detached: true,
    },
    disponsed:{
        is:lifeCycleOwnIs,
        disponsed: true,
    }
};

exports = module.exports = LifeCrycle;